package com.dimples.common.properties;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Data;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2021/6/24
 */
@Data
@SpringBootConfiguration
@ConfigurationProperties(prefix = DimplesProperties.PROPERTIES_PREFIX)
public class DimplesProperties {

    public static final String PROPERTIES_PREFIX = "dimples";

    private boolean autoOpenBrowser = true;

    private SwaggerProperties swagger = new SwaggerProperties();

    private int maxBatchInsertNum = 1000;

    private CaptchaProperties captcha = new CaptchaProperties();

    private SecurityProperties security = new SecurityProperties();

    private FileProperties file = new FileProperties();
}
